package com.gxa.gateway.service;

import dto.ResultDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import param.AuthParam;

@Service
@FeignClient(value = "auth-service")
public interface AuthenticationService {
    @PostMapping("/authentication")
    ResultDTO authentication(@RequestBody AuthParam authParam);
}
